<table class="title" align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td class="title_label"><?php echo Kohana::lang('customer_lang.lbl_new_customer')?></td>
  </tr>
</table>
<table class="list" align="center" cellspacing="1" cellpadding="5">
  <tr class="list_header">
    <td><?php echo Kohana::lang('customer_lang.lbl_name')?></td>
    <td><?php echo Kohana::lang('customer_lang.lbl_email')?></td>
    <td><?php echo Kohana::lang('customer_lang.lbl_type')?></td>
  </tr>
  <?php for($i=0;$i<count($list_customer);$i++){ ?>
  <tr class="row<?php if($i%2 == 0) echo 2 ?>">
    <td align="left"><a href="<?php echo $this->site['base_url']?>admin_customer/edit/<?php echo $list_customer[$i]['customers_id']?>"><?php echo $list_customer[$i]['customers_firstname']?> <?php echo $list_customer[$i]['customers_lastname']?></a></td>
    <td align="left"><a href="<?php echo $this->site['base_url']?>admin_customer/edit/<?php echo $list_customer[$i]['customers_id']?>"><?php echo $list_customer[$i]['customers_email']?></a></td>
    <td align="center"><a href="<?php echo $this->site['base_url']?>admin_customer/edit/<?php echo $list_customer[$i]['customers_id']?>">
	<?php if($list_customer[$i]['customers_type'] == 0)
			echo Kohana::lang('customer_lang.lbl_customer');
		  elseif($list_customer[$i]['customers_type'] == 1)
		    echo Kohana::lang('customer_lang.lbl_wholesaler');
	?>
    </a></td>
  </tr>
  <?php } ?>
</table>